/*
 * If.h
 *
 *  Created on: 06/05/2010
 *      Author: rodolfo
 */

#ifndef IF_H_
#define IF_H_

#include "SelectionStatement.h"
#include "Else.h"

class If: public SelectionStatement
{
public:
    Else *elseStatement;

    If();
    If ( Expression *condition, Statement *command );
    If ( Expression *condition, Statement *command, Else *elseStatement );
    virtual ~If();
};

#endif /* IF_H_ */
